#define _CRT_SECURE_NO_WARNINGS
#include"SeqList.h"

int main()
{
	SeqList sl;
	SeqListInit(&sl);

	SeqListPushBack(&sl, 1);
	SeqListPushBack(&sl, 2);
	SeqListPushBack(&sl, 3);
	SeqListPushBack(&sl, 4);
	SeqListPushBack(&sl, 5);
	SeqListInsert(&sl, sl.size, 100);
	SeqListPushFront(&sl, 31);
	SeqListErase(&sl, 1);
	SeqListPopBack(&sl);
	SeqListPopFront(&sl);

	/*SeqListPushFront(&sl, 6);
	SeqListPushFront(&sl, 7);
	SeqListPopBack(&sl);
	SeqListPopFront(&sl);
	int a = SeqListFind(&sl, 6);*/
	SeqListPrint(&sl);
	//printf("%d", a);

	SeqListDestroy(&sl);
	return 0;
}